'use strict'

let koa=require('koa');

let fengzhuang=require('./templating');
let conaaa=require('./controllers');
let staticRes=require('koa-static');


let app=new koa();
app.use(fengzhuang);
app.use(conaaa());
app.use(staticRes(__dirname+'/statics'));





app.listen(3000);
console.log('http://127.0.0.1:3000');